package com.tougutips.cookbook.dto;

import com.tougutips.cookbook.entity.Cookbook;
import com.tougutips.cookbook.entity.CookbookMaterial;
import com.tougutips.cookbook.entity.CookbookStep;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author MJ
 * description: 新增菜谱接收前端数据dto
 * Date: 2022/7/21 -12:07
 * @Todo:
 */
@Data
public class NewCookbookDto implements Serializable {
    /**
     * 菜谱核心信息
     */
    private Cookbook cookbook;
    /**
     * 菜谱对应的材料信息
     */
    private List<CookbookMaterial> cookbookMaterials;
    /**
     * 菜谱对应的步骤信息
     */
    private List<CookbookStep> cookbookSteps;

    private static final long serialVersionUID = 1L;
}
